package com.stress.testing.common.conf;

public interface PluginConfigKey {
    String PLUGIN_CONFIG_PREFIX = "plugin.";
    String PLUGIN_CONFIG_ENABLE_SUFFIX = ".enable";

    /*** apache-rocket-mq 配置key ***/
    String PLUGIN_APACHE_ROCKETMQ_PREFIX = PLUGIN_CONFIG_PREFIX + "apache-rocketmq.";
    String PLUGIN_APACHE_ROCKETMQ_TOPIC_PREFIX_KEY = PLUGIN_APACHE_ROCKETMQ_PREFIX + "topic.prefix";
    String DEFAULT_PLUGIN_APACHE_ROCKETMQ_TOPIC_PREFIX = "ST_";

    String PLUGIN_JAVA_JDBC_PREFIX = PLUGIN_CONFIG_PREFIX + "java-jdbc.";
    String PLUGIN_JAVA_JDBC_TABLE_NAME_PREFIX_KEY = PLUGIN_JAVA_JDBC_PREFIX + "table.name.prefix";
    String DEFAULT_JAVA_JDBC_TABLE_NAME_PREFIX = "ST_";
    String PLUGIN_JAVA_JDBC_SQL_PARSER_PREFIX = PLUGIN_JAVA_JDBC_PREFIX + "sql.parser.";
    String PLUGIN_JAVA_JDBC_DBTYPE_KEY = PLUGIN_JAVA_JDBC_PREFIX + "dbtype";

    String PLUGIN_ELASTICSEARCH_PREFIX = PLUGIN_CONFIG_PREFIX + "elasticsearch.";
    String PLUGIN_ELASTICSEARCH_INDEX_NAME_PREFIX_KEY = PLUGIN_ELASTICSEARCH_PREFIX + "index.name.prefix";
    String DEFAULT_ELASTICSEARCH_INDEX_NAME_PREFIX = "st_";

    String PLUGIN_NOSQL_REDIS_PREFIX = PLUGIN_CONFIG_PREFIX + "nosql-redis.";
    String PLUGIN_NOSQL_REDIS_KEY_NAME_PREFIX_KEY = PLUGIN_NOSQL_REDIS_PREFIX + "key.name.prefix";
    String DEFAULT_NOSQL_REDIS_KEY_NAME_PREFIX = "ST_";

    String PLUGIN_NOSQL_REDIS_KEY_SERIALIZER_KEY = PLUGIN_NOSQL_REDIS_PREFIX + "key.serializer";
    String DEFAULT_NOSQL_REDIS_KEY_SERIALIZER = "com.stress.testing.plugin.nosql.redis.serializer.StringKeySerializer";
    String PLUGIN_NOSQL_REDIS_KEY_DESERIALIZER_KEY = PLUGIN_NOSQL_REDIS_PREFIX + "key.deserializer";
    String DEFAULT_NOSQL_REDIS_KEY_DESERIALIZER = "com.stress.testing.plugin.nosql.redis.deserializer.StringKeyDeserializer";
}
